package com.thd.springboottest.mybatis.service;

import com.thd.springboottest.mybatis.entity.MyUser;
import com.thd.springboottest.mybatis.entity.SpecialType;

import java.util.List;
import java.util.Map;

/**
 * @author devil13th
 **/
public interface SpecialTypeService {
    //插入用户
    public int save(SpecialType data);
    //更新用户
    public int update(SpecialType data);
    //根据id查询
    public SpecialType queryById(String id);
    //通用查询
    public List<SpecialType> queryList(SpecialType date);


    public void testNewTransactionException();

}
